#include "Game.h"
#include "ResourceManager.h"

int main()
{
	#if defined DEBUG
	_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
	_CrtDumpMemoryLeaks();
	#endif

	Game game;
	while (game.isRunning()) {
		game.update();
	}

	CollisionManager::dropInstance();
}
